package cn.da.shuai.cool.system.model.entity.role;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 角色和菜单关联表
 *
 * @author 大帅哥
 * @since 2025-01-03
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("cool_role_menu")
@Schema(name = "CoolRoleMenu", description = "角色和菜单关联表")
public class CoolRoleMenu {

    @Schema(description = "角色ID")
    @TableField("role_id")
    private Integer roleId;

    @Schema(description = "菜单ID")
    @TableField("menu_id")
    private Integer menuId;
}